#ifndef BOOKINFO_H
#define BOOKINFO_H

#include <QWidget>
#include <datastruct.h>
#include <QMessageBox>
namespace Ui {
class BookInfo;
}

class BookInfo : public QWidget
{
    Q_OBJECT

public:
    explicit BookInfo(Book book_info,int row,QWidget *parent = 0);
    ~BookInfo();

private slots:
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();

private:
    Ui::BookInfo *ui;
    int index;
signals:
    void signals_BookInfo(const int &index);
};

#endif // BOOKINFO_H
